package cate.common.table.farm.udgpalace.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cp.solution.util.str.Str;

import java.util.List;

@EExcelRowClass(IDTitle = "层数")
public class UdgPalaceLevelRow extends ERow {
    @EExcelNoteField(fieldName = "普通守卫")
    private String guardIdStr;
    @EExcelNoteField(fieldName = "boss守卫")
    public int bossId;

    public List<Integer> guardIds;

    @Override
    public void decode() {
        guardIds = Str.str2IntList(guardIdStr, "#");
    }
}
